#!/usr/bin/env python
# -*- coding:utf-8 -*-
from cli import Tool
from base import *


@Tool.add("更新服务器")
def aa():
    cmd_id = input("请输入服务器id:")
    print("更新")


@Tool.add("重启服务器")
def bb():
    cmd_id = input("请输入服务器id:")
    server_revert(cmd_id)


if __name__ == '__main__':
    Tool.run()
